package com.tgpms.web.earlierStage.service;

import java.util.List;
import java.util.Map;

import com.tgpms.common.Result;
import com.tgpms.web.earlierStage.entity.TaskDefinition;

public interface EarlierTaskDefinService {

	Result addTaskDefin(TaskDefinition taskDefin,Result result);

	Result updateTaskDefin(TaskDefinition taskDefin,Result result);

	Result deleteTaskDefin(String id,Result result);
	
	List<Object> selTaskDefin(String id, String projectId);
	
	List<Object> selTaskDefinByArs(String id,String projectId);
	
	//任务模板导入
	Result taskTempImport(String listStr,String projectId,String insertName,Result result);

	/**
	 * @Author guan
	 * @Description 发布任务
	 * @Date 17:11 2019-12-6
	 * @Param [id, modifyUser]
	 * @return com.tgpms.common.Result
	 **/
	Result launchTask(String id, String modifyUser);

	List<Map<String, Object>> selReportTable(Map<String, Object> map);
	
	void lixiang();
}
